﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using schedulelist.ORM.domain;

namespace schedulelist.ORM.mapping
{
    public class RoleMap : ClassMap<Role>
    {
        public RoleMap()
        {
            Table("role");
            Id(x => x.Id).GeneratedBy.Native();
            Map(x => x.name);
            Map(x => x.addt);//addTickets
            Map(x => x.eot);//editOthersTickets
            Map(x => x.uedit);//editUser
            Map(x => x.rd);
            Map(x => x.setstat);//setStatus
            Map(x => x.stat);//Statistics*/
        }
    }
}
